// 广告部分
.gg{
    position: relative;
    .ggbox{
        width: 100%;
        height: 60px;
        background-color: #7b5121;
        img{
            display: block;
            margin: 0 auto;
        }
    }
    .del{
        text-align: center;
        position: absolute;
        width: 30px;
        height: 30px;
        line-height: 30px;
        border-radius: 50%;
        background-color: #666;
        opacity: .5;
        right: 248px;
        top: 10px;
        cursor: pointer;
    }
}
//登陆注/册导航/购物车
.tl{
    background-color: #333;
    .info{
        height: 30px;
        line-height: 30px;
        display: flex;
        justify-content: space-between;
        .txt{
            color: #bfbbaf;
        }
        .infos{
            ul{
                display: flex;
                li{
                    margin-left: 20px;
                    &:nth-child(2){
                        a{
                            color:red;
                        }
                    }
                }
            }
        }
    }
}
// 搜索
.search{
    display: flex;
    height: 124px;
    justify-content: space-between;
    position: relative;
    .num1{
        img{
            &:nth-child(1){
                height: 124px;
                position: absolute;
                left: -76px;
            }
            &:nth-child(2){
                margin-top: 24px;
                margin-left: 112px;
            }
        }
    }
    .num2{
        margin-top: 40px;
        width: 420px;
        height: 43px;
        border: 2px solid #999;
        display: flex;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        .span1{
            overflow: hidden;
            height: 100%;
            width: 30px;
            left: -539px;
            top: -213px;
        }
        .span2{
            width: 80px;
            height: 46px;
            line-height: 44px;
            text-align: center;
            background: #d6595d;
            color: white;
            cursor: pointer;
        }
        input{
            flex: 1;
            outline: none;
            font-size: 16px;
            border: none;
        }
    }
    .num3{
        img{
            width: 115px;
            height: 115px;
        }
    }
}

// 导航
.nav1{
    display: flex;
    div{
        width: 218px;
        height: 54px;
        line-height: 54px;
        background-color: #be4c4c;
        color: white;
        padding-left: 5px;
        box-sizing: border-box;
    }
    ul{
        width: 830px;
        margin: 0 auto;
        height: 50px;
        display: flex;
        line-height: 50px;
        justify-content: space-between;
        li{
            a{
                color: #000;
            }
        }
    }
}
.nav2{
   position: relative;
   ul{
        width: 218px;
        height: 550px; 
        position: absolute;
        z-index: 999;
        left: 0;
        top: 0;
        li{
            height: 54px;
            width: 100%;
            line-height: 54px;
            background-color: #ebe9ea;
            border-bottom: 1px solid #999;
            a{
                color: #666;
                font-size: 14px;
                span{
                    color: #000;
                    margin-left: 4px;
                    font-weight: bold;
                    margin-right: 4px;
                }
            }
        }
    }
}
// 轮播
.banner{
    position: relative;
    margin:  0 auto;
    height: 442px;
    width: 1800px;
    ul{
        height: 460px;
        position: absolute;
        left: -10%;
        li{
            position: absolute;
            img{
                height: 440px;
            }
            &.current{
                z-index: 99;
            }
        }
    }
    ol{
        position: absolute;
        display: flex;
        left: 24%;
        bottom: 10px;
        z-index: 100;
        li{
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 2px solid white;
            margin: 0 6px;
            cursor: pointer;
            &.current{
                background-color: white;
                border: 2px solid gold;
            }
        }
    }
}
// 主体
.content{
    background-color: #f5f5f5;
    display: flex;
    margin-top: 12px;
    justify-content: space-between;
    img{
        display: block;
        &:hover{
            transform: scale(1.1);
        }
    }
    .c_box{
        position: relative;
        text-align: center;
        width: 291px;
        height: 280px;
        overflow: hidden;
        .c_txt{
            position: absolute;
            z-index: 999;
            p{
                width: 290px;
                font-size: 18px;
                line-height: 24px;
                color: #fff;
                &:nth-child(1){
                    margin-top: 20px;
                }
                &:nth-child(2){
                    font-size: 12px;
                }
            }
        }
    }
}

// 详细
.dieal{
    margin-top: 44px;
    background-color: #f5f5f5;
    img{
        &:hover{
            transform: scale(1.1);
        }
    }
    .word{
        display: flex;
        height: 44px;
        line-height: 44px;
        div{
            width: 78px;
            height: 32px;
            line-height: 32px;
            text-align: center;
            background-color: #333;
            color: #a4926e;
            margin-left: 13px;
            margin-top: 6px;
            position: relative;
            span{
                width: 0;
                height: 0;
                border: 6px solid #666;
                border-bottom-color: transparent;
                border-left-color: transparent;
                border-right-color: transparent;
                position: absolute;
                bottom: -12px;
                right: 34px;
            }
            
        }
    }
    .ccc{
        display: flex;
        margin-top: 10px;
        .lm{
            position: relative;
            .mBox{
                position: absolute;
                width: 392px;
                bottom: 30px;
                z-index: 999;
                p{
                    text-align: center;
                    width: 392px;
                    line-height: 15px;
                    color: #fff;
                    &:nth-child(1){
                        line-height: 34px;
                    }
                    &:nth-child(2){
                        margin-top: 6px;
                    }
                }
            }
            .lBox{
                overflow: hidden;
            }
        }
        .rm{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-evenly;
            .rBox{
                width: 392px;
                height: 174px;
                overflow: hidden;
            }
            img{
                &:nth-child(3),&:nth-child(4){
                    margin-top: 14px;
                }
            }
        }
    }
}

// 排行版
.first{
    margin-top: 24px;
    background-color: #f5f5f5;
    .top{
        display: flex;
        div{
            margin-right: 12px;
            line-height: 52px;
            height: 52px;
            
        }
        ul{
            display: flex;
            li{
                width: 76px;
                height: 30px;
                background-color: #e6e6e8;
                line-height: 33px;
                text-align: center;
                margin-right: 10px;
                margin-top: 12px;
                &.current{
                    background-color: #333;
                }
            }
        }
    }
    .bottom{
        position: relative;
        .number1{
            display: flex;
            display: none !important;
            justify-content: space-between;
            .oo{
                .word{
                    position: absolute;
                    text-align: center;
                    width: 392px;
                    color: white;
                    bottom: 45px;
                    p{
                       width: 100%;
                       &:nth-child(2){
                           margin-top: 12px;
                       }
                   }
                }
                img{
                    width: 418px;
                    height: 298px;
                }
            }
            
            .no1{
                display: flex;
                width: 418px;
                height: 298px;
                background-color: white;
                position: relative;
                margin-left: 15px;
                margin-right: 6px;
                &:hover .dd{
                    background-color: #e0c49c;
                    color: white;
                    border: none;
                }
                .d1{
                    img{
                        margin-top: 34px;
                    }
                }
                .d2{
                    img{
                        margin-top: 74px;
                    }
                    p{
                        font-weight: bold;
                        margin-top: 6px;
                    }
                    .dd{
                        margin-top: 20px;
                        width: 74px;
                        height: 30px;
                        text-align: center;
                        line-height: 30px;
                        border: 1px solid #e0c49c;
                        border-radius: 15px;
                    }
                    .d3{
                        background-color: #cbb078;
                        width: 48px;
                        height: 20px;
                        line-height: 20px;
                        position: absolute;
                        left: 0;
                        top: 20px;
                        border-top-right-radius: 15px;
                        border-bottom-right-radius: 15px;
                        color: white;
                    }
                }
            }
            .no2_5{
                flex: 1;
                display: flex;
                ul{
                    margin-top: -8px;
                    display: flex;
                    flex-wrap: wrap;
                    li{
                        position: relative;
                        width: 200px;
                        height: 144px;
                        background-color: white;
                        margin: 6px;
                        &:nth-child(2){
                            img{
                                margin-left: 56px;
                            }
                        }
                        &:nth-child(3){
                            img{
                                margin-left: 56px;
                            }
                        }
                        &:nth-child(4){
                            img{
                                margin-left: 56px;
                            }
                        }
                        img{
                            margin-top: 15px;
                            margin-left: 42px;
                        }
                        span{
                            display: block;
                            left: 0;
                            top: 20px;
                            position: absolute;
                            color: #e0c49c;
                        }
                    }
                }
            }
        }
        .number1.current{
            display: flex !important;
        }
    }
}

// 品牌馆
.type{
    background-color: #f5f5f5;
    margin-top: 50px;
    height: 660px;
    .num1{
        display: flex;
        span{
            font-weight: bold;
            margin-right: 22px;
            margin-bottom: 20px;
        }
        ul{
            display: flex;
            li{
                width: 78px;
                height: 32px;
                text-align: center;
                line-height: 32px;
                background-color: #e6e6e6;
                margin-right: 10px;
                position: relative;
                &.current{
                    background-color: #333;
                }
                span{
                    width: 0;
                    height: 0;
                    border: 6px solid #333;
                    border-bottom-color: transparent;
                    border-right-color: transparent;
                    border-left-color: transparent;
                    position: absolute;
                    left: 33px;
                    top: 32px;
                    display: none;
                    &.current{
                        display: block;
                    }
                }
            }
        }
    } 
    .num2{
        ol{
            flex-wrap: wrap;
            justify-content: space-between;
            display: none;
            &.current{
                display: block;
            }
            li{
                float: left;
                height: 260px;
                position: relative;
                span{
                    img{
                        position: absolute;
                        left: 20px;
                        top: 30px;
                        width: 600px;
                        height: 200px;
                        opacity: 0;
                    }
                }
                &:hover{
                    img{
                        opacity: .5;
                    }
                    span{
                        img{
                            position: absolute;
                            left: 20px;
                            top: 30px;
                            width: 600px;
                            height: 200px;
                            opacity: 1;
                        }
                    }
                }
                &:nth-child(1),&:nth-child(2){
                    margin-bottom: 30px;
                }
                &:nth-child(1),&:nth-child(3){
                    margin-right: 10px;
                }
                img{
                    width: 636px;
                }
            }
        }
    }
}

// 猜你喜欢
.buy{
    clear: both;
    p{
        font-weight: bold;
        margin-bottom: 10px;
    }
    .manyPic{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        .aaa{
            position: relative;
            img{
                width: 251px;
                margin-bottom: 10px;
            }
            span{
                img{
                    width: 220px;
                    position: absolute;
                    left: 20px;
                    bottom: 5px;
                }
            }
        }
    }
}
// 底部
footer{
    width: 100%;
    img{
        width: 100%;
        margin: 0 auto;
    }
}

// 右下角
.rightBottom{
    position: fixed;
    right: 0;
    bottom: 60px;
    z-index: 999;
    width: 54px;
    height: 275px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #fff;
    li{
        font-size: 26px;
        text-align: center;
        height: 55px;
        line-height: 55px;
        position: relative;
        cursor: pointer;
        span{
            display: none;
            position: absolute;
            width: 80px;
            height: 55px;
            right: 54px;
            bottom: 0;
        }
        &:hover{
            background-color: #999;
        }
        &:hover span{
            background-color: #999;
            display: block;
        }
    }
}

// 购物车
.shopping{
    width: 280px;
    border-left: 2px solid #000;
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    .line1{
        height: 60px;
        line-height: 60px;
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        span{
            display: block;
            &:nth-child(1){
                padding-left: 10px;
                font-weight: bold;
            }
            &:nth-child(2){
                padding-right: 10px;
                color: #949494;
                cursor: pointer;
            }
        }
    }
    .line2{
        height: 40px;
        line-height: 40px;
        background-color: #fff9ce;
        display: flex;
        justify-content: space-between;
        span{
            display: block;
            &:nth-child(1){
                padding-left: 10px;
            }
            &:nth-child(2){
                padding-right: 10px;
                color: #a4bcc1;
            }
        }
    }
    .line3{
        background-color: #f1f1f1;
        text-align: center;
        flex: 1;
        div{
            padding-top: 312px;
            font-size: 70px;
            color: #cdcdcd;
        }
        p{
            padding-top: 26px;
        }
    }
}

// 底部广告
.db{
    width: 100%;
    height: 188px;
    background-color: #c4c4c4;
    position: fixed;
    bottom: 0;
    opacity: .6;
    z-index: 99;   
}
.pic{
    position: fixed;
    bottom: 20px;
    z-index: 100;
    img{
        display: block;
        margin-left: 280px;
    }
    span{
        position: absolute;
        right: -8px;
        display: block;
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        border-radius: 50%;
        z-index: 9999;
        background-color: grey;
    }
}
